define([
        'text!app/tpl/loading.html'
        ], function (
        loadingTpl
    ) {


	return {

		tplInitialized: function(){

			return $("<div id=\"containerWrapper\"></div>");
		},

		render: function(tpl){

            appView.html("");
            appView.append(tpl);

		},
		routeChange: function(){
			appView.html("");
			appView.append(loadingTpl);
        	//destory();    
            
		}
	};

});
